<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<title>Room Booking Information</title>
</head>
<body>
	<div id="functionLabel">
		<p>Room Booking Information</p>
	</div>
	<div id="roomBookingInfoTable">
		<s:if test="listBookingRoom.size() >= 0">
			<table id="roomBookingInfo">	
				<tr>
					<th width="10">Time</th>
					<th width="20">09:00 09:30</th>
					<th width="20">09:30 10:00</th>
					<th width="20">10:00 10:30</th>
					<th width="20">10:30 11:00</th>
					<th width="20">11:00 11:30</th>
					<th width="20">11:30 12:00</th>
					<th width="20">12:00 12:30</th>						
					<th width="20">12:30 13:00</th>
					<th width="20">13:00 13:30</th>
					<th width="20">13:30 14:00</th>
					<th width="20">14:00 14:30</th>
					<th width="20">14:30 15:00</th>
					<th width="20">15:00 15:30</th>
					<th width="20">15:30 16:00</th>
					<th width="20">16:00 16:30</th>
					<th width="20">16:30 17:00</th>
					<th width="20">17:00 17:30</th>
					<th width="20">17:30 18:00</th>
				</tr>
			<s:iterator value="listMatrix" id="listMatrix" step="1" status="stat">
				<tr>
					<th width="20"><s:property value="%{dates.get(#stat.index)}" /></th>	
						<s:iterator value="row" id="row" var="element">
								<s:if test="%{#element == 'booked'}">
										<td class="booked"></td>
								</s:if>
								<s:else>
									<td></td>
								</s:else>		
						</s:iterator>
					</tr>
				</s:iterator>		
			</table>
	</s:if>
	</div>
</body>
</html>




		
	